// JavaScript Document
<!-- 
function getObject(objectId) { 
 if(document.getElementById && document.getElementById(objectId)) { 
 return document.getElementById(objectId); 
 } 
 else if (document.all && document.all(objectId)) { 
 return document.all(objectId); 
 } 
 else if (document.layers && document.layers[objectId]) { 
 return document.layers[objectId]; 
 } 
 else { 
 return false; 
 } 
} 
function showHide(e,objname){     
    var obj = getObject(objname); 
    if(obj.style.display == "none"){ 
        obj.style.display = "block"; 
        e.className="xias"; 
    }else{ 
        obj.style.display = "none"; 
        e.className="rights"; 
    } 
} 
	function setturns(i){
		selectturns(i);
	}
	function selectturns(i){
		switch(i){
			case 1:
			document.getElementById("t2").className="this";
			document.getElementById("t3").className="this2";
			document.getElementById("t4").className="bg02";
			document.getElementById("t5").className="bg02";
			document.getElementById("t6").className="bg02";
			document.getElementById("t7").className="bg02";
			document.getElementById("t8").className="bg02";
			
			document.getElementById("p1").style.display="block";
			document.getElementById("p2").style.display="none";
			document.getElementById("p3").style.display="none";
			document.getElementById("p4").style.display="none";
			document.getElementById("p5").style.display="none";	
			document.getElementById("p6").style.display="none";
				
			break;
			case 2:
			document.getElementById("t2").className="bg02";
			document.getElementById("t3").className="this";
			document.getElementById("t4").className="this2";
			document.getElementById("t5").className="bg02";
			document.getElementById("t6").className="bg02";
			document.getElementById("t7").className="bg02";	
			document.getElementById("t8").className="bg02";

           document.getElementById("p1").style.display="none";
			document.getElementById("p2").style.display="block";
			document.getElementById("p3").style.display="none";
			document.getElementById("p4").style.display="none";
			document.getElementById("p5").style.display="none";
			document.getElementById("p6").style.display="none";
					
			break;
			case 3:
			document.getElementById("t2").className="bg02";
			document.getElementById("t3").className="bg02";
			document.getElementById("t4").className="this";
			document.getElementById("t5").className="this2";
			document.getElementById("t6").className="bg02";
			document.getElementById("t7").className="bg02";
			document.getElementById("t8").className="bg02";
             
			document.getElementById("p1").style.display="none";
			document.getElementById("p2").style.display="none";
			document.getElementById("p3").style.display="block";
			document.getElementById("p4").style.display="none";
			document.getElementById("p5").style.display="none";
			document.getElementById("p6").style.display="none";
			
			break;
			case 4:
			document.getElementById("t2").className="bg02";
			document.getElementById("t3").className="bg02";
			document.getElementById("t4").className="bg02";
			document.getElementById("t5").className="this";
			document.getElementById("t6").className="this2";
			document.getElementById("t7").className="bg02";
			document.getElementById("t8").className="bg02";

			document.getElementById("p1").style.display="none";
			document.getElementById("p2").style.display="none";
			document.getElementById("p3").style.display="none";
			document.getElementById("p4").style.display="block";
			document.getElementById("p5").style.display="none";
			document.getElementById("p6").style.display="none";
	
		    break;
			case 5:
			document.getElementById("t2").className="bg02";
			document.getElementById("t3").className="bg02";
			document.getElementById("t4").className="bg02";
			document.getElementById("t5").className="bg02";
			document.getElementById("t6").className="this";
			document.getElementById("t7").className="this2";
			document.getElementById("t8").className="bg02";

            document.getElementById("p1").style.display="none";
			document.getElementById("p2").style.display="none";
			document.getElementById("p3").style.display="none";
			document.getElementById("p4").style.display="none";
			document.getElementById("p5").style.display="block";
			document.getElementById("p6").style.display="none";
			
			 break;
			case 6:
			document.getElementById("t2").className="bg02";
			document.getElementById("t3").className="bg02";
			document.getElementById("t4").className="bg02";
			document.getElementById("t5").className="bg02";
			document.getElementById("t6").className="bg02";
			document.getElementById("t7").className="this";
			document.getElementById("t8").className="this2";

            document.getElementById("p1").style.display="none";
			document.getElementById("p2").style.display="none";
			document.getElementById("p3").style.display="none";
			document.getElementById("p4").style.display="none";
			document.getElementById("p5").style.display="none";
			document.getElementById("p6").style.display="block";
		}
	}
	
function setturnsout(i){
		selectturnsout(i);
	}
	function selectturnsout(i){
		switch(i){
			case 1:
			document.getElementById("t2").className="bg02";
			document.getElementById("t3").className="bg02";
			document.getElementById("t4").className="bg02";
			document.getElementById("t5").className="bg02";
			document.getElementById("t6").className="bg02";
			document.getElementById("t7").className="bg02";
			document.getElementById("t8").className="bg02";
		
			document.getElementById("p1").style.display="none";
			document.getElementById("p2").style.display="none";
			document.getElementById("p3").style.display="none";
			document.getElementById("p4").style.display="none";
			document.getElementById("p5").style.display="none";
			document.getElementById("p6").style.display="none";
			
			document.getElementById("s1").style.display="none";
			document.getElementById("s2").style.display="none";
			document.getElementById("s3").style.display="none";
			document.getElementById("s4").style.display="none";
			document.getElementById("s5").style.display="none";
			document.getElementById("w1").style.display="none";
			document.getElementById("w2").style.display="none";
			document.getElementById("w3").style.display="none";
			document.getElementById("w4").style.display="none";
			document.getElementById("w5").style.display="none";
			document.getElementById("w6").style.display="none";
			document.getElementById("w7").style.display="none";			
		}
	}
--> 